import axios from '../../utils/request'
import baseUrl from '../../utils/baseUrl'
function login(body) {
    // 返回值是Promise;
    // /login?username=kkk&password=123
    // {username,password}
    return axios.get(baseUrl.url+'/login', {params: body})
}

export default {
    login
}